<?php

class TableMap
{

    # KEY map DB name suffix    /*{{{*/
    public static $keyMapDbConfig   =   array(
                                            'A'     =>  'xxtUser',          # adminUser
                                            'AC'    =>  'xxtStatistics',    # autoCount
                                            'AL'    =>  'xxtUser',          # adminLog
                                            'AU'    =>  'xxtUser',          # autoUid
                                            'AS'    =>  'xxtStatistics',    # apiStatistics
                                            'B'     =>  'xxtMessage',       # board
                                            'C'     =>  'xxtMessage',       # chat
                                            'CM'    =>  'xxtLike',          #chatroomMember
                                            'CQ'    =>  'xxtLike',          #chatroomQuestion
                                            'CR'    =>  'xxtLike',          #chatroom
                                            'CI'    =>  'xxtComment',       # commentInfo
                                            'CSA'   =>  'xxtCloudSync',     # cloudSyncAttachment
                                            'CSC'   =>  'xxtCloudSync',     # cloudSyncContent
                                            'DA'    =>  'xxtDiaryKit',      # diaryAttachment
                                            'DB'    =>  'xxtDiaryKit',      # diaryBody
                                            'DBL'   =>  'xxtDiaryKit',      # diarygeo
                                            'DL'    =>  'xxtDiaryKit',      # diaryList
                                            'DV'    =>  'xxtDiaryKit',      # diaryvideo
                                            'ES'    =>  'xxtStatistics',    # exchangeSet
                                            'F'     =>  'xxtFeed',          # feed
                                            'FO'    =>  'xxtFeed',          # feed
                                            'FL'    =>  'xxtFeed',          # feed
                                            'FD'    =>  'xxtUser',          # forbidDevice
                                            'FI'    =>  'xxtFollow',        # followInfo
                                            'HS'    =>  'xxtMessage',       # hotSquare
                                            'I'     =>  'xxtMessage',       # inform
                                            'KAA'   =>  'xxtDiaryKit',      # kitAnniversaryAttachment
                                            'KAB'   =>  'xxtDiaryKit',      # kitAnniversaryBody
                                            'KAL'   =>  'xxtDiaryKit',      # kitAnniversaryList
                                            'KBA'   =>  'xxtDiaryKit',      # kitBmiAttachment
                                            'KBB'   =>  'xxtDiaryKit',      # kitBmiBody
                                            'KBL'   =>  'xxtDiaryKit',      # kitBmiList
                                            'KMA'   =>  'xxtDiaryKit',      # kitMensesAttachment
                                            'KMB'   =>  'xxtDiaryKit',      # kitMensesBody
                                            'KML'   =>  'xxtDiaryKit',      # kitMensesList
                                            'KNA'   =>  'xxtDiaryKit',      # kitNoteAttachment
                                            'KNB'   =>  'xxtDiaryKit',      # kitNoteBody
                                            'KNL'   =>  'xxtDiaryKit',      # kitNoteList
                                            'KSA'   =>  'xxtDiaryKit',      # kitScheduleAttachment
                                            'KSB'   =>  'xxtDiaryKit',      # kitScheduleBody
                                            'KSL'   =>  'xxtDiaryKit',      # kitScheduleList
                                            'KTA'   =>  'xxtDiaryKit',      # kitTallybookAttachment
                                            'KTB'   =>  'xxtDiaryKit',      # kitTallybookBody
                                            'KTL'   =>  'xxtDiaryKit',      # kitTallybookList
                                            'GEO'   =>  'xxtDiaryKit',      # geo
                                            'CHP'   =>  'xxtDiaryKit',      # locationHash
                                            'LI'    =>  'xxtLike',          # likeInfo
                                            'MB'    =>  'xxtMessage',       # messageBox
                                            'MC'    =>  'xxtMessage',       # messageBox
                                            'ML'    =>  'xxtMessage',       # messageBox
                                            'CL'    =>  'xxtMessage',       # clientlog
                                            'RS'    =>  'xxtUser',
                                            'S'     =>  'xxtStatistics',    # local...
                                            'SS'    =>  'xxtDau',           # dau...
                                            'SI'    =>  'xxtShare',         # shareInfo
                                            'SL'    =>  'xxT',              # systemLimit
                                            'T'     =>  'xxtMessage',       # topN
                                            'TU'    =>  'xxtUser',          # tokenUser
                                            'UI'    =>  'xxtUser',          # userInfo
                                            'UM'    =>  'xxtUser',          # userMember
                                            'UL'    =>  'xxtUser',          # userLogin
                                            'UCN'   =>  'xxtUser',          # user_connent
                                            'UST'   =>  'xxtUser',          # user_setting
                                            'US'    =>  'xxtUser',          # userStatistic
                                            'LB'    =>  'xxtUser',          # usergeo
                                            'JP'	=>	'xxtUser',			# jpushset
                                            'TAG'	=>	'xxtUser',			# tags
                                            'UT'	=>	'xxtUser',			# user_tag
                                            'TUR'	=>	'xxtUser',			# tag_user
                                            'MBC'	=>	'xxtUser',			# mobile_code
                                            'EMC'	=>	'xxtUser',			# email_code
                                            'UAL'	=>	'xxtUser',			# user_account_log
                                            'UV'	=>	'xxtUser',			# uservip
                                            'DI'	=>	'xxtUser',			# device_info
                                            'GI'	=>	'xxtShare',			# group
                                            'GM'	=>	'xxtShare',			# groupMembers
                                            'GMM'	=>	'xxtShare',			# groupUsers
                                            'GCT'	=>	'xxtShare',			# group_category
                                            'TP'	=>	'xxtShare',			# topic
                                            'TPC'	=>	'xxtShare',			# topicComments
                                            'AM'	=>	'xxtShare',			# groupAttachment
                                            'TPF'	=>	'xxtShare',			# topicFeed
                                            'AYS'	=>	'xxtShare',			# anonymous
                                            'AYSF'	=>	'xxtShare',			# anonymous_favorite
                                            'AYSC'	=>	'xxtShare',			# anonymous_comment
                                            'AYSM'	=>	'xxtMessage',		# anonymous_message
					    'EX'        =>      'xxtUser',                      # ability
                                            'FH'        =>      'xxtUser',                   
                                            'FDL'   	=>  	'xxtUser',          		# forbidLogin
                                            'CTP'	=>	'xxtShare',			# topic_favorite
                                            'DPP'   	=>  	'xxtLike',          		# shop_diarypaper
                                            'DPZ'   	=>  	'xxtLike',          		# shop_diarypaper_zip
                                            'DUP'   	=>  	'xxtLike',          		# userpaper
					    'GC'    	=>  	'xxtLike',
					    'GU'    	=>  	'xxtLike',
					    'GL'   	=>  	'xxtLike',
					    'GCM'    	=>    	'xxtMessage',
                        'ACT'       =>      'xxtUser',
					    'TVL'       =>    'xxtShare',
					    'TVO'       =>     'xxtShare',
                        'TVG'       =>      'xxtShare',
                        'RA'        =>      'xxtMall',
                        'RAT'       =>      'xxtMall',
					    'VO'        =>      'xxtMall',
					    'DCMT'      =>      'xxtmall_sandbox',
					    'TCW'       =>      'xxtShare',
                        'URLO'      =>      'xxtUser',
                        'GRLO'      =>      'xxtUser',
                        'AR'        =>      'xxtDiaryKit',       # articlebody
                        'ARL'        =>      'xxtDiaryKit',      # articlelist
                        'ATAG'      =>      'xxtDiaryKit',       # article_tags
                        'TAGA'       =>      'xxtDiaryKit',        #tag_article
                        'RP'        =>      'xxtMessage',
                        'CC'       =>      'xxtShare',
			            'RDP'       =>      'xxtShare',
                                          );/*}}}*/

    # KEY map table name prefix /*{{{*/
    public static $keyMapTable      =   array(
                                            'A'     =>  'adminUser',
                                            'AC'    =>  'autoCount',
                                            'AL'    =>  'adminLog',
                                            'AU'    =>  'autoUid',
                                            'AS'    =>  'apiStatistics',
                                            'B'     =>  'board',
                                            'C'     =>  'chat',
                                            'CM'    =>  'chatroom_member',
                                            'CQ'    =>  'chatroom_question',
                                            'CR'    =>  'chatroom',
                                            'CI'    =>  'commentInfo',
                                            'CSA'   =>  'cloudSyncAttachment',
                                            'CSC'   =>  'cloudSyncContent',
                                            'DA'    =>  'diaryAttachment',
                                            'DB'    =>  'diaryBody',
                                            'DL'    =>  'diaryList',
                                            'DV'    =>  'diaryvideo',
                                            'DBL'   =>  'diarygeo',
                                            'ES'    =>  'exchangeSet',
                                            'F'     =>  'feed',
                                            'FO'    =>  'feedinfo',
                                            'FL'    =>  'feedlist',
                                            'FD'    =>  'forbidDevice',
                                            'FI'    =>  'followInfo',
                                            'HS'    =>  'hotSquare',
                                            'I'     =>  'inform',
                                            'KAA'   =>  'kitAnniversaryAttachment',
                                            'KAB'   =>  'kitAnniversaryBody',
                                            'KAL'   =>  'kitAnniversaryList',
                                            'KBA'   =>  'kitBmiAttachment',
                                            'KBB'   =>  'kitBmiBody',
                                            'KBL'   =>  'kitBmiList',
                                            'KMA'   =>  'kitMensesAttachment',
                                            'KMB'   =>  'kitMensesBody',
                                            'KML'   =>  'kitMensesList',
                                            'KNA'   =>  'kitNoteAttachment',
                                            'KNB'   =>  'kitNoteBody',
                                            'KNL'   =>  'kitNoteList',
                                            'KSA'   =>  'kitScheduleAttachment',
                                            'KSB'   =>  'kitScheduleBody',
                                            'KSL'   =>  'kitScheduleList',
                                            'KTA'   =>  'kitTallybookAttachment',
                                            'KTB'   =>  'kitTallybookBody',
                                            'KTL'   =>  'kitTallybookList',
                                            'LI'    =>  'likeInfo',
                                            'MB'    =>  'messageBox',
                                            'MC'    =>  'messageContent',
                                            'ML'    =>  'messageList',
                                            'CL'    =>  'clientlog',
                                            'RS'    =>  'robotMsg',
                                            'S'     =>  'local',
                                            'SS'    =>  'dau',
                                            'SI'    =>  'shareMe',
                                            'SL'    =>  'systemLimit',
                                            'T'     =>  'topN',
                                            'TU'    =>  'tokenUser',
                                            'UI'    =>  'userInfo',
                                            'UM'    =>  'userMember',
                                            'UL'    =>  'userLogin',
                                            'UCN'   =>  'user_connent',          #user_connent
                                            'UST'   =>  'user_setting',          #user_setting
                                            'US'    =>  'userStatistics',
                                            'LB'    =>  'usergeo',
                                            'JP'    =>	'user_push',	
                                            'TAG'   =>	'tags',			# tags
                                            'UT'    =>	'user_tag',			# user_tag
                                            'TUR'   =>	'tag_user',			# tag_user
                                            'MBC'   =>  'mobile_code',
                                            'EMC'   =>  'email_code',
                                            'UAL'   =>  'user_account_log',
                                            'UV'   =>  'uservip',
                                            'DI'   =>  'device_info',
                                            'GI'    =>	'group',
                                            'GM'    =>	'groupmembers',
                                            'GMM'   =>	'groupusers',			# group_members2
                                            'GCT'   =>	'group_category',			# group_members2
                                            'TP'    =>	'topic',
                                            'TPC'   =>	'topiccomments',
                                            'AM'    =>	'groupattachment',
                                            'TPF'   =>	'topicfeed', # topicFeed
                                            'AYS'   =>	'anonymous', # anonymous
                                            'AYSF'   =>	'anonymous_favorite', # anonymous_favorite
                                            'AYSC'   =>	'anonymous_comment', # anonymous_comment
                                            'AYSM'   =>	'anonymous_message', # anonymous_message
					    'EX'    =>	'ability',	# ability
					    'FH'    =>  'female',
                                            'FDL'   =>  'forbidlogin',	# forbidLogin
					    'CTP'   =>	'topic_favorite',	# topic_favorite
					    'DPP'   =>  'shop_diarypaper',
					    'DPZ'   =>  'shop_diarypaper_zip',
                                            'DUP'   =>  'userpaper',
					    'GC'    =>  'groupchat',
                                            'GU'    =>  'groupchatuser',
                                            'GL'    =>  'grouplink',
                                            'GCM'   =>  'groupchatmessage',
                                            'ACT'   =>  'activity',
                                            'TVL'   =>  'topic_vote_link',
                                            'TVO'   =>  'topic_vote_options',
                                            'TVG'   =>  'topic_vote_logs',
                                            'TCW'   =>  'count_weight',
                                             'GEO'   =>  'geo',
                                             'CHP'   =>  'locationHash',
                                             'RA'    =>  'reward',
                                             'RAT'   =>  'rewardtarget',
                                             'VO'    =>  'vip_orders',
                                            'DCMT'   =>  'xxtmall_sandbox',
                                            'URLO'   =>   'user_role',
                                            'GRLO'   =>   'guest_role',
                                             'AR'    =>  'articlebody',
                                             'ARL'   =>  'articlelist',      # articlelist
                                             'ATAG'  =>  'article_tags',
                                             'TAGA'  =>  'tag_article',
                                            'RP'     =>  'report',
                                            'CC'    =>  'child_comment',
					                        'RDP'   =>  'recommend',
                                        );/*}}}*/

    # KEY map table index   /*{{{*/
    public static $mapPrimaryKey    =   array(
                                            'A'     =>  'uid',
                                            'AC'    =>  'id',
                                            'AL'    =>  'uid',
                                            'AU'    =>  'account',
                                            'AS'    =>  'id',
                                            'B'     =>  'id',
                                            'C'     =>  'id',
                                            'CI'    =>  'uid',
                                            'CSA'   =>  'uid',
                                            'CSC'   =>  'id',
                                            'DA'    =>  'uid',
                                            'DB'    =>  'id',
                                            'DL'    =>  'uid',
                                            'DV'    =>  'bodyId',
                                            'ES'    =>  'id',
                                            'F'     =>  'uid',
                                            'FO'    =>  'uid',
                                            'FL'    =>  'uid',
                                            'FD'    =>  'id',
                                            'FI'    =>  'uid',
                                            'HS'    =>  'id',
                                            'I'     =>  'id',
                                            'KAA'   =>  'uid',
                                            'KAB'   =>  'id',
                                            'KAL'   =>  'uid',
                                            'KBA'   =>  'uid',
                                            'KBB'   =>  'id',
                                            'KBL'   =>  'uid',
                                            'KMA'   =>  'uid',
                                            'KMB'   =>  'id',
                                            'KML'   =>  'uid',
                                            'KNA'   =>  'uid',
                                            'KNB'   =>  'id',
                                            'KNL'   =>  'uid',
                                            'KSA'   =>  'uid',
                                            'KSB'   =>  'id',
                                            'KSL'   =>  'uid',
                                            'KTA'   =>  'uid',
                                            'KTB'   =>  'id',
                                            'KTL'   =>  'uid',
                                            'LI'    =>  'uid',
                                            'MB'    =>  'uid',
                                            'MC'    =>  'uid',
                                            'ML'    =>  'uid',
                                            'CL'    =>  'id',
                                            'S'     =>  'uuid',
                                            'SS'    =>  'uid',
                                            'SI'    =>  'uid',
                                            'SL'    =>  'id',
                                            'T'     =>  'id',
                                            'TU'    =>  'uid',
                                            'UI'    =>  'uid',
                                            'UM'    =>  'uid',
                                            'UL'    =>  'account',
                                            'UCN'   =>  'uid',          # user_connent
                                            'UST'   =>  'uid',          # user_setting
                                            'US'    =>  'uid',
                                            'LB'    =>  'uid',
                                            'DBL'   =>  'bodyId',
                                            'JP'    =>	'uid',
                                            'TAG'   =>	'id',			# tags
                                            'UT'    =>	'uid',			# user_tag
                                            'TUR'   =>	'tag_id',	    # tag_user
                                            'MBC'   =>  'id',
                                            'UAL'   =>  'uid',
                                            'UV'   =>  'uid',
                                            'DI'   =>  'id',
                                            'EX'    =>  'uid',	# ability
					    'FH'    =>  'id',
                                            'GI'    =>	'gid',
                                            'GM'    =>	'gid',
                                            'GMM'    =>	'uid',
                                            'GCT'    =>	'cid',
                                            'TP'    =>	'uid',
                                            'TPC'   =>	'uid',
                                            'AM'    =>	'uid',
                                            'TPF'   =>	'id',	# topicFeed
                                            'AYS'   =>	'uid',	# anonymous
                                            'AYSF'   =>	'uid',	# anonymous_favorite
                                            'AYSC'   =>	'cid',	# anonymous_comment
                                            'AYSM'   =>	'uid',	# anonymous_message
                                            'FDL'   =>  'id',	# forbidLogin
					    'CTP'   =>	'id',	# topic_favorite
					    'DPP'   =>  'id',
					    'DPZ'   =>  'id',
                                            'DUP'   =>  'uid',
					    'GC'    =>  'gid',
                        		    'GU'    =>  'id',
                        		    'GL'    =>  'uid',
                                            'GCM'   =>  'gid',
                                            'CHP'   =>  'id',
                                            'ACT'   =>  'id',
                                            'RA'    =>  'uid',
                                            'RAT'   =>  'tuid',
					                        'RDP'  => 'id',
    );/*}}}*/

    # table primary key   /*{{{*/
    public static $tablePrimaryKey  =   array(
                                            'A'     =>  'uid',
                                            'AC'    =>  'id',
                                            'AL'    =>  'uid',
                                            'AU'    =>  'account',
                                            'AS'    =>  'id',
                                            'B'     =>  'id',
                                            'C'     =>  'id',
                                            'CM'    =>  'id',
                                            'CQ'    =>  'qid',
                                            'CR'    =>  'rid',
                                            'CI'    =>  'uid',
                                            'CSA'   =>  'uid',
                                            'CSC'   =>  'id',
                                            'DA'    =>  'uid',
                                            'DB'    =>  'id',
                                            'DL'    =>  'uid',
                                            'DV'    =>  'id',
                                            'ES'    =>  'id',
                                            'F'     =>  'uid',
                                            'FO'    =>  'uid',
                                            'FL'    =>  'uid',
                                            'FD'    =>  'id',
                                            'FI'    =>  'uid',
                                            'HS'    =>  'id',
                                            'I'     =>  'id',
                                            'KAA'   =>  'uid',
                                            'KAB'   =>  'id',
                                            'KAL'   =>  'uid',
                                            'KBA'   =>  'uid',
                                            'KBB'   =>  'id',
                                            'KBL'   =>  'uid',
                                            'KMA'   =>  'uid',
                                            'KMB'   =>  'id',
                                            'KML'   =>  'uid',
                                            'KNA'   =>  'uid',
                                            'KNB'   =>  'id',
                                            'KNL'   =>  'uid',
                                            'KSA'   =>  'uid',
                                            'KSB'   =>  'id',
                                            'KSL'   =>  'uid',
                                            'KTA'   =>  'uid',
                                            'KTB'   =>  'id',
                                            'KTL'   =>  'uid',
                                            'LI'    =>  'uid',
                                            'MB'    =>  'uid',
                                            'MC'    =>  'uid',
                                            'ML'    =>  'uid',
                                            'CL'    =>  'id',
                                            'S'     =>  'uuid',
                                            'SS'    =>  'uid',
                                            'SI'    =>  'uid',
                                            'SL'    =>  'id',
                                            'T'     =>  'id',
                                            'TU'    =>  'uid',
                                            'UI'    =>  'uid',
                                            'UM'    =>  'uid',
                                            'UL'    =>  'account',
                                            'UCN'   =>  'uid',          # user_connent
                                            'UST'   =>  'uid',          # user_setting
                                            'US'    =>  'uid',
                                            'LB'    =>  'uid',
                                            'DBL'   =>  'bodyId',
                                            'JP'    =>	'uid',
                                            'TAG'   =>	'id',			# tags
                                            'UT'    =>	'uid',			# user_tag
                                            'TUR'   =>	'tag_id',	    # tag_user
                                            'MBC'   =>  'id',
                                            'UAL'   =>  'uid',
                                            'UV'   =>  'uid',
                                            'DI'   =>  'id',
                                            'EX'    =>  'uid', # ability
                                            'GI'    =>	'gid',
                                            'GM'    =>	'gid',
                                            'GMM'    =>	'uid',
                                            'GCT'    =>	'cid',
                                            'TP'    =>	'uid',
                                            'TPC'   =>	'tid',
                                            'AM'    =>	'tid',
                                            'TPF'   =>	'id',	# topicFeed
                                            'AYS'   =>	'id',	# anonymous
                                            'AYSF'   =>	'id',	# anonymous_favorite
                                            'AYSC'   =>	'cid',	# anonymous_comment
                                            'AYSM'   =>	'id',	# anonymous_message
                                            'FDL'   =>  'id',	# forbidLogin
					    'CTP'   =>	'id',	# topic_favorite
					    'DPP'   =>  'id',
					    'DPZ'   =>  'id',
                                            'DUP'   =>  'uid',
					    'GC'    =>  'gid',
                        		    'GU'    =>  'id',
                        		    'GL'    =>  'uid',
                                    	    'GCM'   =>  'gid',
                        'ACT'   =>  'id',
                                            'RA'    =>  'id',
                                            'RAT'   =>  'id',
					                        'RDP'  => 'id',
                                        );/*}}}*/

    # DB host config    /*{{{*/
    public static $dbHostConfig =   array(
        'a' =>  array('host' => '10.241.32.33',   'port' => '3306',   'user' => 'ffrjSNS',    'pass' => 'FB@ffrj.217'),
        'b' =>  array('host' => '10.161.134.183',   'port' => '3306',   'user' => 'ffrjSNS',    'pass' => 'FA@ffrj.218'),
        'Fa' =>  array(
            // userInfo
            array('host'=>'10.160.6.159','port' => '3312','user'=>'ffrjSNS','pass'=>'FB@ffrj.217'),
        ),
        'Fb' =>  array(
            // feedInfo
            array('host'=>'10.160.6.159','port' => '3310','user'=>'ffrjSNS','pass'=>'FA@ffrj.218'),
        ),
    );/*}}}*/
    # No table Primary Key Condition    /*{{{*/
    public static $noPrimaryCondition   =   array(
                                                'AS'    =>  'id',
                                                'AC'    =>  'id',
                                                'B'     =>  'id',
                                                'C'     =>  'id',
                                                'CSC'   =>  'id',
                                                'DB'    =>  'id',
                                                'ES'    =>  'id',
                                                'FD'    =>  'id',
                                                'HS'    =>  'id',
                                                'I'     =>  'id',
                                                'KAB'   =>  'id',
                                                'KBB'   =>  'id',
                                                'KMB'   =>  'id',
                                                'KNB'   =>  'id',
                                                'KSB'   =>  'id',
                                                'KTB'   =>  'id',
                                                'T'     =>  'id',
                                                'TPC'   =>  'tid',
                                                'AYSC'   =>  'cid',
                                                'TPF'   =>  'id',
                                                'CTP'   =>	'id',
                                                'GC'    =>  'gid',
                                                'GU'    =>  'id',
                                                'GL'    =>  'uid',
                                                'GCM'   =>  'gid',
                                                'ARL'   =>  'id',
                                                'CC'    =>  'typeId',
                                                'RA'    =>  'uid',
                                                'RAT'   =>  'tuid',
                                            );/*}}}*/

    # table distributed setting
    static public function adminLogIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function adminUserIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function apiStatisticsIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function autoCountIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function autoUidIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function boardIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function chatIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function commentInfoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function cloudSyncAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaaaaaaaaaa';        # table_0 ~ table_15
        $tableConfig    .=  'aaaaaaaaaaaaaaaa';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function cloudSyncContentIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaaaaaaaaaa';        # table_0 ~ table_15
        $tableConfig    .=  'aaaaaaaaaaaaaaaa';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function diaryAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function diaryBodyIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function diaryListIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function diaryvideoIndex()
    {
        $tableConfig    =   'b';        # table_0 ~ table_15
        return  $tableConfig;
    }
    static public function exchangeSetIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function feedIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function feedinfoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function feedlistIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function forbidDeviceIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function followInfoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function hotSquareIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function informIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitAnniversaryAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitAnniversaryBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitAnniversaryListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitBmiAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitBmiBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitBmiListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitMensesAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitMensesBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitMensesListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitNoteAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitNoteBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitNoteListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitScheduleAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitScheduleBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitScheduleListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitTallybookAttachmentIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitTallybookBodyIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function kitTallybookListIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function likeInfoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function messageBoxIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function messageContentIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function messageListIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function clientlogIndex()
    {
        $tableConfig    =   'b';
        return  $tableConfig;
    }
    static public function systemLimitIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function shareInfoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function topNIndex()/*{{{*/
    {
        $tableConfig    =   'aa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function tokenUserIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function userInfoIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function userMemberIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function userLoginIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function user_connentIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function user_settingIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function userStatisticsIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    
    static public function tagsIndex()/*{{{*/
    {
    	$tableConfig    =   'a';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    
    static public function user_tagIndex()/*{{{*/
    {
    	$tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    
    static public function tag_userIndex()/*{{{*/
    {
    	$tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/

    static public function localIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function dauIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    
    static public function usergeoIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    
    static public function diarygeoIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    
    static public function user_pushIndex()/*{{{*/
    {
    	$tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    
    static public function groupIndex()/*{{{*/
    {
    	$tableConfig    =   'b';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    static public function groupMembersIndex()/*{{{*/
    {
    	$tableConfig    =   'b';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    static public function groupUsersIndex()/*{{{*/
    {
    	$tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    static public function group_categoryIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function topicIndex()/*{{{*/
    {
    	$tableConfig    =   'b';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    static public function groupattachmentIndex()/*{{{*/
    {
    	$tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
    	return  $tableConfig;
    }/*}}}*/
    static public function topiccommentsIndex()/*{{{*/
    {
    	$tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
    	$tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
    	return  $tableConfig;
    }/*}}}*/
   
    static public function topicFeedIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
    	$tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function anonymousIndex()
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function anonymous_favoriteIndex()
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function anonymous_commentIndex()
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function anonymous_messageIndex()
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function abilityIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function mobile_codeIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function email_codeIndex()
    {
        $tableConfig    =   'a';        # table_0
        return  $tableConfig;
    }
    static public function user_account_logIndex () {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_7
        return  $tableConfig;
    }
    static public function uservipIndex () {
        $tableConfig    =   'a';
        return  $tableConfig;
    }
    static public function device_infoIndex () {
        $tableConfig    =   'a';
        return  $tableConfig;
    }
    static public function femaleIndex()
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }
    static public function forbidloginIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function topic_favoriteIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function shop_diarypaperIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 
        return  $tableConfig;
    }/*}}}*/
    static public function shop_diarypaper_zipIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function userpaperIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function groupchatIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function groupchatuserIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function grouplinkIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function groupchatmessageIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function chatroomIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function chatroom_memberIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_7
        return  $tableConfig;
    }/*}}}*/
    static public function chatroom_questionIndex()/*{{{*/
    {
        $tableConfig = 'b';        # table_0
    }
    static public function topic_vote_linkIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_15
        return  $tableConfig;
    }/*}}}*/
    static public function topic_vote_logsIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function topic_vote_optionsIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_15
        return  $tableConfig;
    }/*}}}*/
    static public function count_weightIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_15
        return  $tableConfig;
    }/*}}}*/
     static public function geoIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';	   # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function locationhashIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0 ~ table_15     
        return  $tableConfig;
    }/*}}}*/

    static public function robotMsgIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_7
        return  $tableConfig;
    }
    static public function activityIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0
        return  $tableConfig;
    }
    static public function rewardIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';       # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function rewardtargetIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=   'bbbbbbbbbbbbbbbb';       # table_16 ~ table_31
        return  $tableConfig;
    }
    static public function user_roleIndex()/*{{{*/
    {
        $tableConfig    =   'a';        # table_0 ~ table_15
        return  $tableConfig;
    }/*}}}*/
    static public function guest_roleIndex()/*{{{*/
    {
        $tableConfig    =   'aaaaaaaa';        # table_0 ~ table_15
        return  $tableConfig;
    }/*}}}*/
    static public function articleBodyIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/

    static public function articleListIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/

    static public function article_tagsIndex()/*{{{*/
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }/*}}}*/
    static public function tag_articleIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbb';        # table_0 ~ table_8
        return  $tableConfig;
    }/*}}}*/

    static public function reportIndex()
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }

    static public function xxtmall_sandboxIndex()/*{{{*/
    {
        $tableConfig    =   'c';        # table_0 ~ table_8
        return  $tableConfig;
    }/*}}}*/
    static public function child_commentIndex()/*{{{*/
    {
        $tableConfig    =   'bbbbbbbbbbbbbbbb';        # table_0 ~ table_15
        $tableConfig    .=  'bbbbbbbbbbbbbbbb';        # table_16 ~ table_31
        return  $tableConfig;
    }/*}}}*/
    static public function recommendIndex()
    {
        $tableConfig    =   'b';        # table_0
        return  $tableConfig;
    }
    static public function vip_ordersIndex()/*{{{*/
    {
        $tableConfig    =   'b';       # table_0
        return  $tableConfig;
    }
}

